package cn.kgc.springboot.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.kgc.springboot.entity.User;
import cn.kgc.springboot.service.UserService;
import cn.kgc.springboot.mapper.UserMapper;
import org.springframework.stereotype.Service;

/**
* @author mengshun
* @description 针对表【user】的数据库操作Service实现
* @createDate 2023-11-15 15:50:54
*/
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService{

    @Override
    public User getUserById(Integer id) {
        return baseMapper.getById(id);
    }
}




